export default [
    // 首页
 {
   path: '/home',
   component: ()=>import('@/views/front/Front.vue'),
   children:[
      // 首页
      {
        path:'',
        name:'homepage',
        component:()=>import('@/views/front/center/home/Home.vue'),
        meta:{
          title:'首页'
        },
      }
    ]
 },
 {
    path: '/',
    redirect:'/home'
 },
// 新闻
{
   path:'/news',
   component: ()=>import('@/views/front/Front.vue'),
  
        meta:{
          title:'新闻'
        },
   children:[
      //新闻
      {
        path:'/news',
        name:'mynews',
        component:()=>import('@/views/front/center/news/News.vue'),
        children:[
          //微博新闻
          {
            path:'/news/wbnews',
            name:'mywbnews',
            component:()=>import('@/views/front/center/news/WbNews.vue')
          },
          //微博新闻
          {
            path:'/news/zhnews',
            name:'myzhnews',
            component:()=>import('@/views/front/center/news/ZhNews.vue')
          }
        ]
      }
    ]
},
// 关于
{
  path:'/about',
  component: ()=>import('@/views/front/Front.vue'),
  
        meta:{
          title:'关于'
        },
  children:[
     //关于
     {
       path:'/about',
       name:'myabout',
       component:()=>import('@/views/front/center/about/About.vue')
     }
   ]
},
// 论坛
{
  path:'/forum',
  component: ()=>import('@/views/front/Front.vue'),

        meta:{
          title:'论坛'
        },
  children:[
     //论坛
     {
       path:'/forum',
       name:'myforum',
       component:()=>import('@/views/front/center/forum/Forum.vue')
     }
   ]
},
// 文章发布
{
  path:'/publicblog',
  component: ()=>import('@/views/front/Front.vue'),

        meta:{
          title:'发布文章'
        },
  children:[
     //文章搜索
     {
       path:'/publicblog',
       name:'mypublicblog',
       component:()=>import('@/views/front/center/publicblog/PublicBlog.vue')
     }
   ]
},
// 文章展示
{
  path:'/dispalyarticle',
  component: ()=>import('@/views/front/Front.vue'),

        meta:{
          title:'展示文章'
        },
  children:[
     //文章搜索
     {
       path:'/dispalyarticle/:blog_id',
       name:'mydispalyarticle',
       component:()=>import('@/views/front/dispalyArticle/DisplayArticle.vue')
     }
   ]
}
]